
package com.hlkj.pay.app.merchant.ext.dto.order;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import com.hlkj.pay.infrastructure.model.order.OrderFundDetailDO;
import com.hlkj.pay.infrastructure.model.order.PayOrderDO;
import com.hlkj.pay.infrastructure.model.pay.PayChannelRequestDO;
import com.hlkj.pay.infrastructure.model.pay.PayWayDO;
import com.hlkj.pay.infrastructure.model.pay.ProviderChannelConfigDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/09/26 10:21
 */
@Data
public class ChannelPayOrderQueryContext extends ChannelPayCommonContext{


    /**
     * 支付通道
     */
    private ProviderChannelConfigDO providerChannelConfigDO;

    /**
     * 通道请求记录
     */
    private PayChannelRequestDO payChannelRequestDO;

    /**
     * 订单支付信息
     */
    private PayOrderDO payOrderDO;

    /**
     * 支付方式
     */
    private PayWayDO payWayDO;

    /**
     * 订单支付信息
     */
    private PayOrderDO updartePayOrderDO;

    @Schema(description = "跳转支付数据")
    private String payInfo;

    @Schema(description = "支付数据类型，pay_url-支付链接，pay_url_form-支付链接强制必须跳转（直接访问链接跳转），wx_jspay-微信支付参数(微信公众号,小程序,app支付时)，ali_jspay-支付宝支付参数，ysf_jspay-云闪付支付参数，，bank_info-银行转账参数，code_url-二维码地址codeImg_url-二维码图片地址,none-空支付参数")
    private String payDataType;

    /**
     * 回调地址
     */
    private String notifyUrl;

    private List<OrderFundDetailDO> orderFunds;
}
